package cn.test;

/**
 * @author oldliu
 * @since 1.0
 */
public class Car {
     private String color;
     private String tel;

    public Car(String color, String tel) {
        this.color = color;
        this.tel = tel;
    }

    public void launch(){
        System.out.println("启动");
    }
    public void accelerate(){
        System.out.println("加速");
    }
    public void brake(){
        System.out.println("刹车");
    }
    public void show(){
        System.out.println("一辆颜色是"+this.color+"车牌号是"+this.tel+"的汽车");
    }
}
